﻿CREATE TABLE [dbo].[FC_User] (
    [IdUsuario] INT          IDENTITY (1, 1) NOT NULL,
    [IdRole]    INT          NULL,
    [Username]  VARCHAR (20) NULL,
    [Password]  VARCHAR (50) NULL,
    [Name]      VARCHAR (50) NULL,
    [IdEntityF] INT          NULL,
    [Active]    BIT          NULL,
    CONSTRAINT [PK_FC_Usuario] PRIMARY KEY CLUSTERED ([IdUsuario] ASC),
    CONSTRAINT [FK_FC_User_FC_Role] FOREIGN KEY ([IdRole]) REFERENCES [dbo].[FC_Role] ([IdRole])
);

